package edu.sctu.yueding.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by zhengsenwen on 2016/8/18.
 */
public class VoteBean implements Serializable {

    private int id;
    private String title;
    private String introduction;
    private long startTime;
    private long endTime;
    private long numberOfVoters;
    private List<Items> items;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public long getNumberOfVoters() {
        return numberOfVoters;
    }

    public void setNumberOfVoters(long numberOfVoters) {
        this.numberOfVoters = numberOfVoters;
    }

    public List<Items> getItems() {
        return items;
    }

    public void setItems(List<Items> items) {
        this.items = items;
    }


    public class Items implements Serializable {

        private int id;
        private String item;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getItem() {
            return item;
        }

        public void setItem(String item) {
            this.item = item;
        }
    }
}

